package com.coupons.business.common.vo;

import java.io.Serializable;
import java.util.Date;

public class Merchant implements Serializable 
{
	private static final long serialVersionUID = -5007404227969599685L;
	private int merchantId; 	
	private String merchantName;	
	private int partnerId;
	private String description;	
	private Date creationDate;
	private Date lastUpdatedDate;	
	private String status;
	private Date licenseEndDate;
	private String lastUpdatedUser;	
	private int rank;		
	private String merchantOfferHeader;
	private String merchantSiteURL;
	private String merchantEmblem;
	private String merchantAssociationId;
	
	private byte[] emblemData;
	
	
	public byte[] getEmblemData() {
		return emblemData;
	}
	public void setEmblemData(byte[] emblemData) {
		this.emblemData = emblemData;
	}
	
	public int getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(int merchantId) {
		this.merchantId = merchantId;
	}
	public String getMerchantName() {
		return merchantName;
	}
	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}
	public int getPartnerId() {
		return partnerId;
	}
	public void setPartnerId(int partnerId) {
		this.partnerId = partnerId;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Date getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	public Date getLastUpdatedDate() {
		return lastUpdatedDate;
	}
	public void setLastUpdatedDate(Date lastUpdatedDate) {
		this.lastUpdatedDate = lastUpdatedDate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getLicenseEndDate() {
		return licenseEndDate;
	}
	public void setLicenseEndDate(Date licenseEndDate) {
		this.licenseEndDate = licenseEndDate;
	}
	public String getLastUpdatedUser() {
		return lastUpdatedUser;
	}
	public void setLastUpdatedUser(String lastUpdatedUser) {
		this.lastUpdatedUser = lastUpdatedUser;
	}
	public int getRank() {
		return rank;
	}
	public void setRank(int rank) {
		this.rank = rank;
	}
	public String getMerchantOfferHeader() {
		return merchantOfferHeader;
	}
	public void setMerchantOfferHeader(String merchantOfferHeader) {
		this.merchantOfferHeader = merchantOfferHeader;
	}
	public String getMerchantSiteURL() {
		return merchantSiteURL;
	}
	public void setMerchantSiteURL(String merchantSiteURL) {
		this.merchantSiteURL = merchantSiteURL;
	}
	public String getMerchantEmblem() {
		return merchantEmblem;
	}
	public void setMerchantEmblem(String merchantEmblem) {
		this.merchantEmblem = merchantEmblem;
	}
	public String getMerchantAssociationId() {
		return merchantAssociationId;
	}
	public void setMerchantAssociationId(String merchantAssociationId) {
		this.merchantAssociationId = merchantAssociationId;
	}
	
	public String toString()
	{
		StringBuffer sb= new StringBuffer();
		sb.append("Merchant: [");
		sb.append("merchantId: "); 
		sb.append(merchantId);
		sb.append(" ,merchantName: ");
		sb.append(merchantName);
		sb.append(" ,partnerId: ");
		sb.append(partnerId);
		sb.append(" ,description: "); 	
		sb.append(description);
		sb.append(" ,creation Date: ");
		sb.append(creationDate);
		sb.append(" ,last Updated Date: ");
		sb.append(lastUpdatedDate);
		sb.append(" ,status: ");
		sb.append(status);
		sb.append(" ,license End Date: ");
		sb.append(licenseEndDate);
		sb.append(" ,last Updated User: ");
		sb.append(lastUpdatedUser);
		sb.append(" ,rank");
		sb.append(rank);
		sb.append(" ,merchantOfferHeader: "); 
		sb.append(merchantOfferHeader);
		sb.append(" ,merchantSiteURL: ");
		sb.append(merchantSiteURL);
		sb.append(" ,merchantEmblem: ");
		sb.append(merchantEmblem);
		sb.append(" ,merchantAssociationId: "); 
		sb.append(merchantAssociationId);
		sb.append("  ]");
		return sb.toString();
	}

	

}
